package interfaces;

import java.util.EventObject;

/**
 * @author Manseer Marcel  
 * @author Plavsic Maja
 * @author Pretsch Paul
 */
@SuppressWarnings("serial")
public class TagDataChangedEvent extends EventObject {

	private int oldCount;

	public TagDataChangedEvent(TagDataGetter source, int oldCount) {
		super(source);

		this.oldCount = oldCount;
	}
	
	public TagDataGetter getSource() {
		return (TagDataGetter) super.getSource();
	}
	
	public int getOldCount()
	{
		return this.oldCount;
	}

}
